package com.springmvc.web.demo.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * </p>
 *
 * @author WangRuChao
 * @since 2018-01-11
 */
@TableName("ph_flup")
public class PhFlup extends Model<PhFlup> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/**
	 * 用户auserid
	 */
	private String auserid;
	/**
	 * 创建时间
	 */
	private Date createtime;
	/**
	 * 修改时间
	 */
	private Date updatetime;
	/**
	 * 随访医生
	 */
	private String flupdoctor;
	/**
	 * 随访类型 blood 血压, bloodsugar 血糖
	 */
	private String type;
	/**
	 * 体检方式（随访）
	 */
	private String fluptype;
	/**
	 * 随访时间
	 */
	private String fluptime;
	/**
	 * 下次体检随访时间
	 */
	private String nextfluptime;
	/**
	 * 0正常 1异常
	 */
	private Integer state;
	/**
	 * 追加随访1是0否
	 */
	private Integer nextflup;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAuserid() {
		return auserid;
	}

	public void setAuserid(String auserid) {
		this.auserid = auserid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

	public String getFlupdoctor() {
		return flupdoctor;
	}

	public void setFlupdoctor(String flupdoctor) {
		this.flupdoctor = flupdoctor;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getFluptype() {
		return fluptype;
	}

	public void setFluptype(String fluptype) {
		this.fluptype = fluptype;
	}

	public String getFluptime() {
		return fluptime;
	}

	public void setFluptime(String fluptime) {
		this.fluptime = fluptime;
	}

	public String getNextfluptime() {
		return nextfluptime;
	}

	public void setNextfluptime(String nextfluptime) {
		this.nextfluptime = nextfluptime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getNextflup() {
		return nextflup;
	}

	public void setNextflup(Integer nextflup) {
		this.nextflup = nextflup;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "PhFlup{" +
				"id=" + id +
				", auserid=" + auserid +
				", createtime=" + createtime +
				", updatetime=" + updatetime +
				", flupdoctor=" + flupdoctor +
				", type=" + type +
				", fluptype=" + fluptype +
				", fluptime=" + fluptime +
				", nextfluptime=" + nextfluptime +
				", state=" + state +
				", nextflup=" + nextflup +
				"}";
	}
}
